home *** CD-ROM | disk | FTP | other *** search
- fscommand("allowscale",true);
- myMap1 = [[5,5,5,5,5,5,5,5,5,5],[5,5,5,5,5,5,5,5,5,5],[5,5,1,1,1,1,1,1,5,5],[5,5,1,0,0,1,0,1,5,5],[5,5,1,0,0,0,2,1,5,5],[5,5,1,0,0,1,0,1,5,5],[5,5,1,1,1,1,1,1,5,5],[5,5,5,5,5,5,5,5,5,5],[5,5,5,5,5,5,5,5,5,5]];
- game = {tileW:45,tileH:45,currentMap:1,points:false};
- game.Tile0 = function()
- {
- };
- game.Tile0.prototype.walkable = true;
- game.Tile0.prototype.frame = 1;
- game.Tile1 = function()
- {
- };
- game.Tile1.prototype.walkable = false;
- game.Tile1.prototype.frame = 2;
- game.Tile2 = function()
- {
- };
- game.Tile2.prototype.walkable = false;
- game.Tile2.prototype.frame = 3;
- game.Tile5 = function()
- {
- };
- game.Tile5.prototype.walkable = false;
- game.Tile5.prototype.frame = 5;
- unlockY = 4;
- unlockX = 6;
- char = {xtile:3,ytile:4,speed:3};
- startingXtile = char.xtile;
- startingYtile = char.ytile;
- myEnemies = [[1,4,4]];
- game.Enemyp1 = function()
- {
- };
- game.Enemyp1.prototype.xMove = 0;
- game.Enemyp1.prototype.yMove = -1;
- game.Enemyp1.prototype.speed = 0.5;
- myItems = [[1,3,3]];
- game.Item1 = function()
- {
- };
- game.Item1.prototype.points = false;
- unlock = true;
- _root.buildMap(_root["myMap" + game.currentMap]);
- stop();
-